package com.love.cloud.admin.api.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author hongdongqu
 */
@Data
public class ForgetPasswordVo {
    //获取到验证码
    public interface GetValidCode{

    }
    //校验验证码
    public interface CheckValidCode{

    }

    //设置新的密码
    public interface SetNewPassword{

    }

    @NotEmpty(groups ={GetValidCode.class,CheckValidCode.class,SetNewPassword.class} ,message = "手机号不能为空")
    private String mobile;

    @NotEmpty(groups ={ CheckValidCode.class } ,message = "验证码不能为空")
    private String validCode;

    @NotEmpty(groups ={ SetNewPassword.class } ,message = "验证码校验凭证不能为空")
    private String checkSuccessCode;

    @NotEmpty(groups ={ SetNewPassword.class } ,message = "新密码不能为空")
    private String newPassWord;


}
